import axios, { getResult } from '../axios';

export interface ListQuery {}
export interface ListState {}

export default {
  // 获取列表
  getDept: (query: ListQuery): Promise<ListState> =>
    axios
      .get({
        url: '/',
        data: query,
      })
      .then(getResult),
};
